package net.steam.easyjoboa.biz;

import java.util.List;
import net.steam.easyjoboa.entity.AddressBook;
import net.steam.easyjoboa.entity.AddressGroup;
import net.steam.easyjoboa.entity.Employee;
import net.steam.easyjoboa.entity.PageBeans;

public interface AddressBookBiz {
	public List<AddressBook> finBook(PageBeans pageBean, int id);
	public List<AddressBook> getBooksByGroupId(PageBeans pageBean,int groupId,String name,long qq,int loginId);
	AddressBook getAddressBook(int id);
	void update(AddressBook addressBook);
	List<AddressGroup> getListGroups(int id);
	void addAddressBook(AddressBook addressBook);
	List<Employee> getEmployeeList();
	List<AddressBook> getList(int id);
	void delete(AddressBook addressBook);
	List<AddressBook> getListByNameAndGroups(String name,int groupId,int userId);
	List<AddressBook> getListByNameAndGroups(String name,int groupId,int userId,int bookId);
	int addBook(AddressBook addressBook);
}
